
const {success,error}=require('../model/index');
const query = require('../mysql/index');


//数据
class carController{
    addCar=async (ctx)=>{
        const {id}=ctx.request.body;
        let sql=`select * from uses where user_id=${id} `
        const data=await query(sql)
        console.log(data)

    }
}


module.exports=new carController()